package vsy.buzzwordbingo.model;

import java.util.List;

import org.codehaus.jackson.annotate.JsonIgnore;

public interface Player {
	public String getName();
	
	public long getLoginTime();
	
	public boolean matchesPassword(String password);
	
	// Not serialized to JSON
	
	@JsonIgnore
	public List<Game> getGames();

	@JsonIgnore
	public List<GameBoard> getBoards();

	public void joinGame(Game game, GameBoard board);

	public void leaveGame(Game game, GameBoard board);
}
